package com.chenbei.common.annotation;

import com.chenbei.common.enums.DesensitizeTypeEnum;

import java.lang.annotation.*;

/**
 * 脱敏
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Desensitize {

    /**
     * 脱敏字段类型
     * @return DesensitizeTypeEnum
     */
    DesensitizeTypeEnum type();
}
